//
//  VCDowmload.h
//  VCDemo
//
//  Created by 肖康龙 on 2017/8/31.
//  Copyright © 2017年 vsoontech. All rights reserved.
//

#ifndef VCDowmload_h
#define VCDowmload_h



#endif /* VCDowmload_h */

#import "VCInformationTool.h"


#ifdef DEBUG
#define VCNSLog(xx, ...)  NSLog(@"%s(%d): " xx, __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)
#else
#define NSLog(...) {}
#endif

#define __VCWeakSelf __weak typeof(self) weakSelf = self;


#define APPKEY @"1234567890ABCDEF"
/**socket请求超时*/
#define SOCKET_OUT_TIME 0.5
/**上报时间间隔*/
#define REPORT_TIME 1
/**调试页面刷新*/
#define DEBUG_TIME 0.1
/**没一个包的大小*/
#define PAGE_SIZE 1400
/**播放器请求第几个ts*/
#define PLAY_NUM_TS @"PlayNumTs"
/**下载完成哪一个ts*/
#define DOWNLOAD_TS_NAME @"DownloadTsName"
/**通道请求超时,请求更换接口通知的信息名*/
#define VC_TS @"VC_TS"

//锁屏通知
#define NotificationOff CFSTR("com.apple.springboard.lockcomplete")
//解锁通知
#define NotificationOn CFSTR("com.apple.springboard.hasBlankedScreen")
/**上报通知*/
#define VCDownloadReportNotification @"VCDownloadReportNotification"
/**上报通知*/
#define VCDownloadDebugNotification @"VCDownloadDebugNotification"
/**打开通道失败*/
#define VCDownloadTunnelOpenFailNotification @"VCDownloadTunnelOpenFailNotification"
/**播放器请求的ts通知*/
#define VCDownloadSendDownloadNotification @"VCDownloadSendDownloadNotification"




